#include "TextureProxySingleton.h"

namespace lib3dw
{
	TextureProxySingleton* TextureProxySingleton::instance = 0;

	TextureProxySingleton::TextureProxySingleton()
	{
	}

	TextureProxySingleton* TextureProxySingleton::Instance()
	{
		if( instance == 0 )
		{
			instance = new TextureProxySingleton();
		}
		return instance;
	}

	std::map<std::string, PNGTexture*>* TextureProxySingleton::GetLoadedTextures()
	{
		return &loadedTextures;
	}
}